package com.example.demo.sys.user.dao;

import com.example.demo.base.BaseDao;
import com.example.demo.sys.user.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author haocj
 * 系统用户数据接口
 */
@Mapper
public interface SysUserDao extends BaseDao<SysUser> {

    SysUser findByNameOrPass(SysUser sysUser);

    void save(SysUser sysUser);

    void delete(@Param("ids") String[] ids);

}
